package com.sanlunche.blog.mapper;

import com.sanlunche.blog.pojo.Emp;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper {

    @Select("select * from users where username = #{username} and password = #{password}")
    Emp getByUsernameandPassword(Emp emp);
}
